package com.itany.ems.service.impl;

import com.itany.ems.dao.EmpDao;
import com.itany.ems.dao.impl.EmpDaoImpl;
import com.itany.ems.entity.Emp;
import com.itany.ems.service.EmpService;

import java.util.List;

/**
 * @author 石小俊
 * @date 2023年07月18日 15:57
 */
public class EmpServiceImpl implements EmpService {

    private EmpDao empDao = new EmpDaoImpl();

    @Override
    public List<Emp> findAll() {
        return empDao.selectAll();
    }
}
